package com.cloud.config;

import com.netflix.loadbalancer.IRule;
import com.netflix.loadbalancer.RandomRule;
import feign.Logger;
import org.springframework.context.annotation.Bean;

/**
 * @Author: TongRui乀
 * @Date: 2019/10/25 10:39
 * @description：
 */
public class Service2FeignConfig {

    @Bean
    IRule random(){
        return new RandomRule();
    }

    @Bean
    Logger.Level debug(){
        return Logger.Level.FULL;
    }
}
